package com.usian.service;

import com.usian.pojo.TbUser;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author chen
 * @date 2021/1/21 - 20:07 - 星期四
 * @project usian_parent
 * @package com.usian.service
 * @by GGbomd猪猪侠
 */
@Component
public interface SSOService {
    boolean checkUserInfo(String checkValue, Integer checkFlag);

    Integer userRegister(TbUser tbUser);

    Map userLogin(String username, String password);

    TbUser getUserByToken(String token);

    Boolean logOut(String token);
}
